#include<stdio.h>
int main ()
{int i,j;
unsigned long s=0;
unsigned long t;
  for(i=1;i<=10;i++)
  {t=1;
  for(j=1;j<=i;j++)
  t=t*j;
  s=s+1/t;
  }
 printf("s=%d\n",s);
 return 0;
 } 
